home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 22
/
Cream of the Crop 22.iso
/
bbs
/
fnos16a5.zip
/
FNOS.HIS
< prev
next >
Wrap
Text File
|
1996-11-27
|
8KB
|
213 lines
FNOS History
Marc Blakely
Fidonet: 1:138/146
Internet: lookglas@adrift.harbornet.com
Nov 1996 MB 1.6a5
Implemented the 'ftn_monitor' process. This is a separate process
started upon successful carrier detection from within the
dialer. It will cause an exit to DOS if the carrier is lost or if
the ppp receive idletime exceeds the value set using the
'ftnopt idletimeout' value. If the idletimeout is set to 0 (zero)
then the idle exit is deactivated. If active, it will cause an
exit to DOS, also. The DOS errorlevel is set to 5 if the exit was
caused by a carrier loss, or set to 4 if the idle timeout caused
the exit.
ftnopt idletime <seconds>
Oct/Nov 1996 MB 1.6a4
Add 'ftnopt' commands to ftp client command structure.
Added additional logic to dellocal & delremote which requires
Ftn.Ftnmode to be on to enable the delete function. This is so if
Ftn.Ftnmode is toggled off during a session, it also deactivates
the file deletion during ftp transfers.
Added 'open' and 'close' commands to the ftp client.
open <aliasname/sitename>
The open command will first try using the given argument as an
ftn aliasname and attempt to retrieve the sitename, username, and
password from the ftnalias.lst file. If unsuccessful, open with then
try resolving the argument as a sitename requiring the user to supply
the username and password at the host's login prompt.
close
The close command will try to send the host a 'QUIT' to end the
current session. Successful or not, 'close' will not end the local
ftp session.
These two commands will allow daisy chaining remote logins.
Changed ftp command line (ftnopt mode on) in consideration of the new
ftp client open and close commands.
ftp <scriptfile>
The script file must contain the open command.
Sep/Oct 1996 MB 1.6a3
Add ftn.c & ftn.h files
Create struct ftnopts for FTN specific options:
struct ftnopts {
int Ftnmode; /* global enable */
char Logfile[MAXPATH]; /* log file name if Ftnmode */
int Dialinline; /* inline dialer flag */
char Dialerfile[MAXPATH];/* current dialer file in use - internal use */
int Redialtries; /* max redial attempts */
int Dialfailexit; /* exit after dialer failure flag */
int Redialcnt; /* current dial attempt counter */
int16 Idletimeout; /* ppp idle timeout value */
int Ftpinline; /* inline ftp flag, not implemented yet */
int Delremote; /* del remote file after get/mget flag */
int Dellocal; /* del local file if get/mget failure */
char Aliasname[20]; /* current ftp alias name - internal use */
char Sitename[64]; /* current site name for ftp target - internal use */
char Loginname[20]; /* login name for current ftp target - internal use */
char Password[20]; /* password for current ftp target login - internal use */
int32 Bytesout; /* ftp session bytes sent count */
int32 Bytesin; /* ftp session bytes received count */
int32 Conntime; /* ftp session time */
};
Add ftnopt mode option, default is off
This controls ftp operations and disables the keywait routines
in the case of errors to allow for unattended operation. It also
changes the log file output (see below). Used without an
argument will display the current setting.
ftnopt mode [on|OFF]
Add ftnopt inline config option, default is off
This controls the startup of later processes (ie. ftp, popmail,
etc.) until the dialer finishes and the link is established.
This is accomplished by reducing the stack size of the dialer
module to zero, thus inhibiting later processes until the dialer
ends. Used without an argument will display the current setting.
ftnopt inline [on|OFF]
Add ftnopt logfile config option
ftnopt logfile [filename]
Default logfile is named FNOS.LOG in the /logs directory. This can
be overridden by supplying an alternate filename (drive and
path optional). If ftnmode is on then the logfile is written in
Binkleyterm style output. Issuing the command without a filename
will display the current log file name in use.
Note: Log entries during Ftnmode are cummulative and the log
file is not renamed when passing midnight.
Add ftnopt redialtry config option command
ftnopt redialtry [count]
Add ftnopt dialer fail on exit flag. This causes FNOS to exit back
to DOS if the dialer fails to connect after the redialtry count is
reached.
ftnopt failexit [on|OFF]
Add 'ftnopt delete remote' config option command
ftnopt delremote [on|OFF]
Add 'ftnopt delete local' config option command
ftnopt dellocal [on|OFF]
Implement redial tries and failexit in ppp/slip dialer
Add & implement 'goto' command in dialer
goto <label>
<label> is located on line by itself starting with ':' in first
column ie:
:<label>
Add comment line capability in dialer file. Comment lines start with
'#' in first column
# This is a comment line and skipped
Add detach command to ftp client to force interface disconnect prior
to exit.
detach <interface>
Add exit command to ftp client. This causes FNOS to exit back to DOS
from within the ftp client. This is unconditional and will not be
kind to any other sessions going on at the same time!
exit
Aug 1996 MB 1.6a2
Add ftpftn_lookup()
Uses alias file (ftnalias.lst) to lookup remote server name,
login name & password to use for ftp sessions.
Command line format:
ftp <aliasname> [scriptfile]
Example:
ftp george
or
ftp george george.ftp
Alias file format (ascii text):
<aliasname> <ftpservername> <loginname> <password>
Example:
george ftp.paonline.com anonymous lookglas@adrift.harbornet.com
Comment lines allowed, start line with '#'
Delimiter is either spaces or tabs
All four fields must be present or ftp session will abort
Add doftpftn()
Modification of original ftp command module used if Ftnmode is on.
Mods include removal of code asking for user input of username &
password and use of the ftpftn_lookup routine to replace
user input. (Note: this breaks scripts written for the
previous DIS2.16/1.5b version)
Rename doftp() to doftpi()
Modify doftp() to initiate doftpftn()
or doftpi() depending on Ftnmode flag
Change log file defaults and formatting when 'ftnopt mode' active.
Aug 1996 MB 1.6a1
Initial compile w/ppp & dialer options based on JNOS 1.11x3 code
Revised ppp fsm_timeout() per mods supplied by Gerard van Essen
(Should improve Livingston Portmaster ppp dialup connections)